package com.jml.netty.手写dubbo.customer;


import com.jml.netty.手写dubbo.api.MemberService;
import com.jml.netty.手写dubbo.server.consumer.RpcClientProxy;

public class Consumer {
    public static void main(String[] args) {
        RpcClientProxy rpcClientProxy = new RpcClientProxy();
        MemberService memberService = rpcClientProxy.create(MemberService.class);
        // 调用getUser方法执行RpcClientProxy invoke
        String user = memberService.getUser(1L);
        System.out.println(user);
    }
}
